package com.sword.service.buy;

import com.sword.page.PageResult;
import com.sword.page.QueryPageBean;
import com.sword.pojo.buy.BuyDetail;
import com.sword.pojo.buy.BuyorderDetail;

public interface BuyDetailService {
    // 分页查询单据
    PageResult queryBuyDetail(QueryPageBean queryPageBean);

    // 添加单据
    Integer addBuyDetail(BuyDetail buyDetail);

    // 编辑单据
    Integer editBuyDetail(BuyDetail buyDetail);

    // 审核单据
    Integer examineBuyDetail(BuyDetail buyDetail);

    //弃审单据
    Integer unexamineBuyDetail(BuyDetail buyDetail);

    // 删除单据
    Integer deleteBuyDetail(Integer id);
}
